package com.jsmile.cloud.accountcenter.api.res;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel
public class ResMember {

    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "会员用户id")
    private Long userId;
    @ApiModelProperty(value = "账户id")
    private Long accountId;
    @ApiModelProperty(value = "微信小程序openid")
    private String openId;
    @ApiModelProperty(value = "微信公众号openid")
    private String appOpenId;
    @ApiModelProperty(value = "昵称")
    private String name;
    @ApiModelProperty(value = "会员编码")
    private String memberCode;
    @ApiModelProperty(value = "店铺id")
    private Long shopId;
    @ApiModelProperty(value = "会员等级")
    private Integer level;
    @ApiModelProperty(value = "会员等级名称")
    private String levelName;
    @ApiModelProperty(value = "手机号")
    private String phone;
    @ApiModelProperty(value = "是谁的粉丝")
    private Long fansLeader;
    @ApiModelProperty(value = "上级是谁的粉丝")
    private Long fansLeaderLeader;
    @ApiModelProperty(value = "上级分佣用户id")
    private Long primaryLeader;
    @ApiModelProperty(value = "上上级分佣用户id")
    private Long secondLeader;
    @ApiModelProperty(value = "个人累计消费")
    private Long selfConsumption;
    @ApiModelProperty(value = "两级下线累计消费")
    private Long followerConsumption;
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updateTime;
    @ApiModelProperty(value = "省")
    private String province;
    @ApiModelProperty(value = "市")
    private String city;
    @ApiModelProperty(value = "性别")
    private String gender;
    @ApiModelProperty(value = "头像")
    private String faceLink;
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
    @ApiModelProperty(value = "是否新用户 1是 0否")
    private Integer hasNewUser;
    @ApiModelProperty(value = "是否删除")
    private Integer delFlag;
    @ApiModelProperty(value = "平台id")
    private Integer platformId;
    @ApiModelProperty(value = "业务id")
    private Integer bizCode;

}
